package Java.Class.Medium;

import java.util.ArrayList;

public class CD extends Item {


    private String artists;

    public CD() {
    }

    ;

    public CD(String title, String artists, int number, int playtime, boolean gotit, String coment) {
        super(title, number, playtime, gotit, coment);
        this.artists = artists;


    }


    public void print() {
        System.out.println("Cd");
        System.out.print(this.artists + "\t");
        super.print();
    }
}
